# Copyright (c) 2023 by Azure
#
# Endless Sky is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later version.
#
# Endless Sky is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <https://www.gnu.org/licenses/>.


mission "Avgi Culture: Verticality"
	minor
	invisible
	source Peripheria
	to offer
		not "avgi: lost in twilight"
		random < 15
	on offer
		conversation
			`While looking for a place to grab a snack, you discover most of the restaurants are on the terrace rings above your level of the spaceport. After some asking around, you come to the realization that Avgi structures simply weren't designed with flightless humans in mind, and you're forced to ask a very confused worker to use the spaceport's freight elevator to go up a single level.`
				decline


mission "Avgi Culture: Free Fuel"
	minor
	landing
	invisible
	source
		government "Avgi (Consonance)"
	to offer
		not "avgi: lost in twilight"
		random < 15
	on offer
		conversation
			`As a dockyard worker helps you top off the <ship>'s fuel, you hear her mutter. "Incredulation. We're directed to give the alien free fuel while the rest of us are bleeding out of the eyes for every drop of dee."`
				decline


mission "Avgi Culture: Playfight"
	minor
	invisible
	source "Peripheria"
	to offer
		not "avgi: lost in twilight"
		random < 12
	on offer
		conversation
			`As you walk through the spaceport, a pair of small Avgi flit above your head - children, perhaps - waving sticks at each other as part of some kind of game. One of them manages to knock the other's stick out of their hands, who then executes some sort of dizzying barrel roll before the two fly on out of sight.`
				decline


mission "Avgi Culture: Cocoon"
	minor
	invisible
	source
		government "Avgi (Consonance)"
	to offer
		not "avgi: lost in twilight"
		random < 12
	on offer
		conversation
			`An Avgi flies by, a pair of Avgi children sitting on her back. Nestled between them is some kind of cocoon, spun from silk that winds its way into a rope wrapped carefully around the mother's body.`
				decline


mission "Avgi Culture: Zapchannel Ad"
	minor
	invisible
	source
		government "Avgi (Consonance)"
	to offer
		not "avgi: lost in twilight"
		random < 3
	on offer
		conversation
			branch language
				has "language: Avgi (Written)"
			`A cheap electronic sign, haphazardly stuck to a wall, flashes a series of colorful symbols, sharp and angular. You aren't able to understand it, but guess it's probably an advertisement or notice of some kind.`
				decline

			label language
			`A cheap electronic sign, haphazardly stuck to a wall, flashes a message in the colorful written language of the Avgi. "Zapchannel Ray Energy! With over three quadrillion gamma decays per serving, one dose provides enough energy for life! Buy today!"`
				decline


mission "Avgi Culture: Dissonance Protest 1"
	minor
	invisible
	source
		government "Avgi (Consonance)"
	to offer
		not "avgi: lost in twilight"
		random < 3
	on offer
		conversation
			branch language
				has "language: Avgi (Written)"
			`A line of angry-looking Avgi march in a wide circle around the spaceport, while others dart overhead in a similar pattern. Most of them seem to be waving colorful flags, while a few of the Avgi in the air are trailing banners with large, angular letters in bright colors written on them. All of the Avgi, which seem to be participating in some kind of protest, are wearing bright magenta ribbons around their arms, a color that seems to be likewise prominent on their flags and banners.`
				decline

			label language
			`A line of angry-looking Avgi march in a wide circle around the spaceport, while others dart overhead in a similar pattern. Most of them seem to be waving colorful flags, while a few of the Avgi in the air are trailing banners with colorful slogans on them. "STOP CONSONANCE TAXES," "ABOLISH MINERAL FEUDALISM," and "STOP SENDING US TO DIE" are just a few of the messages you can make out, all in the angular Avgi script. All of the Avgi are wearing bright magenta ribbons around their arms, a color that seems to be likewise prominent on their flags and banners.`
				decline


mission "Avgi Culture: Dissonance Graffiti 1"
	minor
	invisible
	source
		government "Avgi (Consonance)"
	to offer
		not "avgi: lost in twilight"
		random < 3
	on offer
		conversation
			branch language
				has "language: Avgi (Written)"
			`You find colorful, curvy symbols scrawled all across the walls, floor, and ceiling of <planet>'s spaceport terminal, and you can see a handful of Avgi with brushes and mops attempting to remove them. You aren't sure what they say, but other Avgi seems to be laughing and pointing as they stroll by. The workers scrubbing the graffiti away seem to be less than amused, however.`
				decline

			label language
			`Colorful, curvy symbols are scrawled all across the walls, floor, and ceiling of <planet>'s spaceport terminal, and you can see a handful of Avgi with brushes and mops attempting to remove them. Much of the paint has run down the walls or overlaps with other symbols, and what you can see is sloppy, but you can make out words like 'taxes' and 'defenestrate' and the phrase 'Twilight Guard? More like Twilight Gourd.'`
				decline


mission "Avgi Culture: We Live In A Society"
	minor
	invisible
	source
		government "Avgi (Consonance)"
	to offer
		not "avgi: lost in twilight"
		random < 3
	on offer
		conversation
			`An Avgi passes you, head buried in something that looks remarkably like a newspaper. You hear him mutter as he strolls by, "Unbelievable. We truly live in a society, consideration."`
				decline


mission "Avgi Culture: Realism"
	minor
	invisible
	source
		government "Avgi (Consonance)"
	to offer
		not "avgi: lost in twilight"
		random < 3
	on offer
		conversation
			`An pair of Avgi walk by you, deep in conversation. "Appreciation. I'm just glad we're being realistic here," says one. The other doesn't respond, but you sense a feeling of great despair.`
				decline


mission "Avgi Culture: Doomed Korath"
	minor
	invisible
	source
		attributes "aberrant siege"
	to offer
		not "avgi: lost in twilight"
		random < 3
	on offer
		conversation
			`An Avgi stands by a doorway, speaking into a megaphone. "Proclamation. Take warning, denizens! Without proper balance in your life, you'll be doomed! Doomed, I say! Just like those Korath I've heard about. The end times are near!"`
				decline


mission "Avgi Culture: General Ripper"
	minor
	invisible
	source
		attributes "aberrant siege"
	to offer
		not "avgi: lost in twilight"
		random < 3
	on offer
		conversation
			`An Avgi stands at a crossroads, waving a sign and a laser rifle. "Declaration. The Aberrant are polluting our precious bodily fluids, citizens! Take action now! We must not allow a fluid gap!"`
			`	Security personnel soon arrive and begin trying to talk the Avgi down, eyeing the laser rifle nervously.`
				decline


mission "Avgi Culture: Criminal Mischief"
	minor
	invisible
	source
		government "Avgi (Consonance)"
	to offer
		not "avgi: lost in twilight"
		random < 3
	on offer
		conversation
			`A bright green Avgi wearing a black scarf darts above you towards one of the spaceport terminal gates, a comically oversized burlap sack dangling behind her. A trio of Avgi dressed in bright yellow force their way through a confused crowd in mid-air, waving batons. "Attention! Stop, thief!"`
			`	"Taunt! You'll never catch me alive!" the thief shouts, before promptly running into a wall. You shake your head as she's led away in restraints.`
				decline


mission "Avgi Culture: False Alarm"
	minor
	invisible
	source
		government "Avgi (Twilight Guard)"
	to offer
		not "avgi: lost in twilight"
		random < 3
	on offer
		conversation
			`The spaceport is lit up by flashing yellow lights as a robotic voice proclaims its message. "Command. Radiation danger, seek prompt shelter. Command. Radiation danger, seek prompt shelter."`
			`	The crowd has only barely had time to panic before the voice is cut off with a squeal of static. "Abashment. Apologies, false alert. Mindaro dropped his drink on the console, there is no radiation danger."`
				decline
